<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" href="img/favicon.jpeg">
    <title>FPGA实验管理系统-实验界面</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css">

    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="huawen">
<div class="container">

    <!--页面头部开始-->
    <div class="head">
        <div class="head-logo">
            <img src="img/logo.jpeg" alt="首页logo" class="img-responsive center-block" />
        </div>
        <div class="head-nav">
            <nav class="navbar navbar-default">
                <div class="container">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation">
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <p  class="navbar-brand">欢迎：${username}</p>
                    </div>
                    <div class="collapse navbar-collapse" id="navigation">
                        <ul class="nav navbar-nav">
                            <li class="active"><a href="jump?name=fpga_main&username=${username}"><span class="glyphicon glyphicon-home"></span> 主页</a></li>
                            <li class="dropdown">
                                <a href="jump?name=fpga_test-platform&username=${username}" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-star">
                                </span>实验平台<span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="jump?name=fpga_test-platform&username=${username}">实验平台信息</a></li>
                                    <li><a href="jump?name=fpga_equipment&username=${username}">实验设备</a></li>
                                </ul>
                            </li>
                            <li class="dropdown">
                                <a href="jump?name=fpga_tea-plan&username=${username}" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-list">
                                </span>教学信息<span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="jump?name=fpga_tea-plan&username=${username}">授课计划</a></li>
                                    <li><a href="jump?name=fpga_tea-team&username=${username}">教学队伍</a></li>
                                </ul>
                            </li>
                            <li class="dropdown">
                                <a href="jump?name=fpga_video&username=${username}" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-file"></span> 资源下载 <span class="caret">
                  </span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="jump?name=fpga_video&username=${username}">教学视频</a></li>
                                    <li><a href="jump?name=fpga_document&username=${username}">教学文档</a></li>
                                </ul>
                            </li>
                            <ul class="nav navbar-nav">
                                <li><a href="jump?name=fpga_upfile&username=${username}"><span class="glyphicon glyphicon-hand-right"></span> 实验入口</a></li>
                            </ul>
                            <li><a href="jump?name=fpga_bbs&username=${username}"><span class="glyphicon glyphicon-fire"></span> 教学论坛</a></li>
                            <li class="dropdown">
                                <a href="jump?name=fpga_selectUser&username=${username}" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user">
                                </span>用户中心<span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="jump?name=fpga_selectUser&username=${username}">用户信息</a></li>
                                    <li><a href="jump?name=fpga_grade&username=${username}">成绩查看</a></li>
                                    <li><a href="jump?name=fpga_updatepwd&username=${username}">密码修改</a></li>
                                    <li><a href="jump?name=fpga_record&username=${username}">实验记录</a></li>
                                </ul>
                            </li>
                        </ul>
                        <ul class="nav navbar-nav pull-right">
                            <li><a href="finish?username=${username}"><span class="	glyphicon glyphicon-off"></span>退出</a></li>
                        </ul>

                    </div>
                </div>
            </nav>
        </div>
    </div>
    <!--页面头部结束-->

    <!--页面主体开始-->
    <div class="main set-height">
        <div class="row">
            <!--左侧栏导航开始-->
            <div class="col-md-3">
                <div class="panel panel-default">
                    <div class="list-group">
                        <a class="list-group-item">
                            <h4 class="list-group-item-heading"><span class="glyphicon glyphicon-flag"></span>实验平台</h4>
                        </a>
                        <a href="jumpTest?name=fpga_page_util&username=${username}&test_name=01" class="list-group-item "><span class="glyphicon glyphicon-chevron-right">实验1:</span> </a>
                        <a href="jumpTest?name=fpga_page_util&username=${username}&test_name=02" class="list-group-item "><span class="glyphicon glyphicon-chevron-right">实验2:</span> </a>
                        <a href="jumpTest?name=fpga_page_util&username=${username}&test_name=03" class="list-group-item "><span class="glyphicon glyphicon-chevron-right">实验3:</span> </a>
                        <a href="orderTest?name=fpga_order&username=${username}" class="list-group-item"><span class="glyphicon glyphicon-chevron-right">预约实验</span></a>
                    </div>
                </div>
            </div>
            <!--左侧栏导航结束-->

            <!--右边内容开始-->
            <div class="col-md-9">
                <ul class="breadcrumb">
                    <span class="glyphicon glyphicon-map-marker"></span>
                    <li><a href="#">FPGA实验管理系统</a></li>
                    <li><a href="#">实验入口</a></li>
                    <li><a href="jumpTest?name=fpga_upfile&test_name=${test_name}&type=&username=${username}">实验选择</a></li>
                </ul>

                <div class="table table-hover table-responsive table-striped text-center">
                    <a href="jumpTest?name=fpga_document&test_name=${test_name}&type=&username=${username}">查看实验${test_name}PDF</a>
                    <br/>
                    <a href="jumpTest?name=fpga_video&test_name=${test_name}&type=&username=${username}">观看实验${test_name}视频</a>
                    <br/>
                    <a href="jumpTest?name=fpga_test&test_name=${test_name}&username=${username}">上传实验${test_name}代码</a>
                    <br/>
                </div>

                <%--<div class="table table-hover table-responsive table-striped text-center">--%>
                <%--<caption class="h4 text-center">实验操作平台<small>(请上传已经在本地编译后的文件)</small></caption>--%>
                <%--<form action="gotoAction" enctype="multipart/form-data" method="post">--%>
                <%--<table>--%>
                <%--<tr><td><span style="color:red">${message}</span></td></tr>--%>
                <%--<tr>--%>
                <%--<td>请选择文件：</td>--%>
                <%--<td><input type="file" name="file"></td>--%>
                <%--</tr>--%>
                <%--<tr><td></td></tr>--%>
                <%--<tr>--%>
                <%--<td>开始上传:</td>--%>
                <%--<td><input type="submit" value="上传"></td>--%>
                <%--</tr>--%>
                <%--</table>--%>
                <%--</form>--%>
                <%--</div>--%>
            </div>
            <!--右边内容结束-->
        </div>
    </div>
    <!--页面主体结束-->

    <!--页面底部开始-->
    <div class="foot">
        <hr />
        <p class="text-center">版权所有：南京邮电大学实验室中心&nbsp;&nbsp;&nbsp;技术支持：DF 团队&nbsp;&nbsp;联系热线：210-34567788</p>
    </div>
    <!--页面底部结束-->
</div>
</body>
</html>